package com.topscomm.app.controller.auto;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.topscomm.app.IAppService;
import com.topscomm.app.AppController;
import com.topscomm.app.AppEntity;
import com.topscomm.app.pojo.AppPageTabEntity;
import com.topscomm.app.service.IAppPageTabService;
import com.topscomm.pub.vo.ResponseResult;

public class AppPageTabControllerAuto extends AppController<AppPageTabEntity, IAppPageTabService> {
	@GetMapping(value = "/dataCodeList")
	public ResponseResult<Object> dataCodeList(@RequestParam(required = false) Map<String, Object> paraMap) {
		List<Map<String, Object>> enabledList = datacodeCache.getCodeListMap("CboYesNo","","sortcode");
		Map<String, Object> codeMap = new HashMap<String, Object>();
		codeMap.put("enabledList", enabledList);
		return ResponseResult.ok(codeMap);
	}
}
